/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package prueba_mensaje;

/**
 *
 * @author GROSSEL
 */
import org.apache.activemq.ActiveMQConnection;

public class Producer {

	// URL of the JMS server. DEFAULT_BROKER_URL will just mean
	// that JMS server is on localhost
	private static String url = ActiveMQConnection.DEFAULT_BROKER_URL;
	//private static String url = "tcp://192.168.1.33:61616?trace=false&soTimeout=60000";

	// Name of the queue we will be sending messages to
	private static String subject = "LICITACION";

	public static void main(String[] args)  {
		
		HiloProductor hilo = new HiloProductor(url, subject);
		Thread th = new Thread(hilo);
		th.start();
		
	}

}

